package dk.javacode.srsm.testmodel;

import dk.javacode.srsm.annotations.Column;
import dk.javacode.srsm.annotations.Table;

@Table(name = "car")
public class Car {

	@Column(primaryKey = true, nullable = false, name = "id")
	private Integer id;

	@Column(name = "model")
	private String model;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}



	@Override
	public String toString() {
		return "Car [id=" + id + ", model=" + model + "]";
	}

}
